module.exports = function(file) {
  let obj
  try {
    obj = require('@/views/' + file + '.vue').default
  } catch (e) {
    obj = require('@/views/' + 'layout/Layout' + '.vue').default
  }
  return obj
} // vue-loader at least v13.0.0+
